namespace ext
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <definedin>src\widgets\tips\Tip.js</definedin>
	[ScriptName("Tip")]
	[ScriptNamespace("Ext")]
	[Imported()]
	public partial class Tip : ext.Panel
	{
		
		#region Constructors
		/// <summary>Constructor</summary>
		/// <param name="config">The configuration options</param>
		public Tip(ext.Tip_Configuration config)
		{
		}
		
		/// <summary>Constructor</summary>
		public Tip()
		{
		}
		#endregion
		
		#region Fields
		/// <summary>True to render a close tool button into the tooltip header (defaults to false).</summary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		[ScriptName("closable")]
		public bool Closable;
		
		/// <summary>
		/// Width in pixels of the tip (defaults to auto). Width will be ignored if it exceeds the bounds of
		/// {@link #minWidth} or {@link #maxWidth}. The maximum supported value is 500.
		/// </summary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		[ScriptName("width")]
		public System.Number Width;
		
		/// <summary>The minimum width of the tip in pixels (defaults to 40).</summary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		[ScriptName("minWidth")]
		public System.Number MinWidth;
		
		/// <summary>The maximum width of the tip in pixels (defaults to 300). The maximum supported value is 500.</summary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		[ScriptName("maxWidth")]
		public System.Number MaxWidth;
		
		/// <summary>
		/// True or &quot;sides&quot; for the default effect, &quot;frame&quot; for 4-way shadow, and &quot;drop&quot;
		/// for bottom-right shadow (defaults to &quot;sides&quot;).
		/// </summary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		[ScriptName("shadow")]
		public ext.auto.System_Boolean_Or_System_String Shadow;
		
		/// <summary>
		/// Experimental. The default {@link Ext.Element#alignTo} anchor position value
		/// for this tip relative to its element of origin (defaults to &quot;tl-bl?&quot;).
		/// </summary>
		/// <htmlSummary>
		/// &lt;b&gt;Experimental&lt;/b&gt;. The default {@link Ext.Element#alignTo} anchor position value
		/// for this tip relative to its element of origin (defaults to &quot;tl-bl?&quot;).
		/// </htmlSummary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		[ScriptName("defaultAlign")]
		public string DefaultAlign;
		#endregion
		
		#region Methods
		/// <summary>
		/// Shows this tip at the specified XY position. Example usage:
		/// 
		/// // Show the tip at x:50 and y:100
		/// tip.showAt([50,100]);
		/// </summary>
		/// <htmlSummary>
		/// Shows this tip at the specified XY position. Example usage:
		/// &lt;pre&gt;&lt;code&gt;
		/// // Show the tip at x:50 and y:100
		/// tip.showAt([50,100]);
		/// &lt;/code&gt;&lt;/pre&gt;
		/// </htmlSummary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		/// <param name="xy">An array containing the x and y coordinates</param>
		[ScriptName("showAt")]
		public void ShowAt(System.Array xy)
		{
			throw new System.Exception("Imported - not implemented");
		}
		
		/// <summary>
		/// Experimental. Shows this tip at a position relative to another element using a standard {@link Ext.Element#alignTo}
		/// anchor position value. Example usage:
		/// 
		/// // Show the tip at the default position (&apos;tl-br?&apos;)
		/// tip.showBy(&apos;my-el&apos;);
		///
		/// // Show the tip&apos;s top-left corner anchored to the element&apos;s top-right corner
		/// tip.showBy(&apos;my-el&apos;, &apos;tl-tr&apos;);
		/// </summary>
		/// <htmlSummary>
		/// &lt;b&gt;Experimental&lt;/b&gt;. Shows this tip at a position relative to another element using a standard {@link Ext.Element#alignTo}
		/// anchor position value. Example usage:
		/// &lt;pre&gt;&lt;code&gt;
		/// // Show the tip at the default position (&apos;tl-br?&apos;)
		/// tip.showBy(&apos;my-el&apos;);
		///
		/// // Show the tip&apos;s top-left corner anchored to the element&apos;s top-right corner
		/// tip.showBy(&apos;my-el&apos;, &apos;tl-tr&apos;);
		/// &lt;/code&gt;&lt;/pre&gt;
		/// </htmlSummary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		/// <param name="el">An HTMLElement, Ext.Element or string id of the target element to align to</param>
		/// <param name="position">
		/// A valid {@link Ext.Element#alignTo} anchor position (defaults to &apos;tl-br?&apos; or
		/// {@link #defaultAlign} if specified).
		/// </param>
		[ScriptName("showBy")]
		public void ShowBy(object el, string position)
		{
			throw new System.Exception("Imported - not implemented");
		}
		
		/// <summary>
		/// Experimental. Shows this tip at a position relative to another element using a standard {@link Ext.Element#alignTo}
		/// anchor position value. Example usage:
		/// 
		/// // Show the tip at the default position (&apos;tl-br?&apos;)
		/// tip.showBy(&apos;my-el&apos;);
		///
		/// // Show the tip&apos;s top-left corner anchored to the element&apos;s top-right corner
		/// tip.showBy(&apos;my-el&apos;, &apos;tl-tr&apos;);
		/// </summary>
		/// <htmlSummary>
		/// &lt;b&gt;Experimental&lt;/b&gt;. Shows this tip at a position relative to another element using a standard {@link Ext.Element#alignTo}
		/// anchor position value. Example usage:
		/// &lt;pre&gt;&lt;code&gt;
		/// // Show the tip at the default position (&apos;tl-br?&apos;)
		/// tip.showBy(&apos;my-el&apos;);
		///
		/// // Show the tip&apos;s top-left corner anchored to the element&apos;s top-right corner
		/// tip.showBy(&apos;my-el&apos;, &apos;tl-tr&apos;);
		/// &lt;/code&gt;&lt;/pre&gt;
		/// </htmlSummary>
		/// <definedin>src\widgets\tips\Tip.js</definedin>
		/// <param name="el">An HTMLElement, Ext.Element or string id of the target element to align to</param>
		[ScriptName("showBy")]
		public void ShowBy(object el)
		{
			throw new System.Exception("Imported - not implemented");
		}
		#endregion
	}
}
